<template>
  <div>
    <!-- 底部table 各类导航 -->
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/home">
        首页
      </van-tabbar-item>
      <van-tabbar-item icon="search" to="/classify">
        分类
      </van-tabbar-item>
      <van-tabbar-item icon="photo-o" to="/deserve">
        值得买
      </van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="/shoppingCart">
        购物车
      </van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/personage">
        个人中心
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { RouterLink } from 'vue-router'
const active = ref(0)
</script>

<style scoped></style>
